package org.glut.friendsService.service;

import org.glut.friendsService.entity.Messages;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *  服务类接口
 *
 * @author qjc
 * @since 2024-08-16 12:32
 */
public interface IMessagesService extends IService<Messages> {
    boolean sendMessage(Integer senderId, Integer receiverId, String content); // 发送消息
    List<Messages> getMessages(Integer senderId, Integer receiverId); // 获取聊天记录
}
